package values;

import java.sql.Date;
import java.sql.Time;

/**
 * Represents a related comment ADSFADFADSFAD.
 */
public class RelatedComment 
{
	//Attributes
	
	/**
	 * Comment's Id.
	 */
	private int id;
	
	/**
	 * Comment's content.
	 */
	private String content;
	
	/**
	 * Date the comment was made.
	 */
	private Date date;
	
	/**
	 * Time the comment was made.
	 */
	private Time time;
	
	/**
	 * Comment's author.
	 */
	private String logIn;
	
	/**
	 * Login of the user that has marked this comment as innapropiate.
	 */
	private String innappropiate;
	
	/**
	 * Parent comment of this comment.
	 */
	private int parentId;
	
	/**
	 * Counter of how many users have marked this comment as helpful.
	 */
	private int helpful;
	
	
	public RelatedComment(int id, String content, Date date, Time time, String login, String innappropiate, int parentId, int helpful)
	{
		this.id=id;
		this.content=content;
		this.date=date;
		this.time=time;
		this.logIn=login;
		this.innappropiate=innappropiate;
		this.parentId=parentId;
		this.helpful=helpful;
		
	}

	/**
	 * @return the helpful
	 */
	public int getHelpful() {
		return helpful;
	}

	/**
	 * @param helpful the helpful to set
	 */
	public void setHelpful(int helpful) {
		this.helpful = helpful;
	}

	/**
	 * @return the parentId
	 */
	public int getParentId() {
		return parentId;
	}

	/**
	 * @param parentId the parentId to set
	 */
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	/**
	 * @return the innapropiate
	 */
	public String getInnappropiate() {
		return innappropiate;
	}

	/**
	 * @param innapropiate the innapropiate to set
	 */
	public void setInnappropiate(String innappropiate) {
		this.innappropiate = innappropiate;
	}

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}

	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * @return the date
	 */
	public Date getDate() {
		return date;
	}

	/**
	 * @param date the date to set
	 */
	public void setDate(Date date) {
		this.date = date;
	}

	/**
	 * @return the time
	 */
	public Time getTime() {
		return time;
	}

	/**
	 * @param time the time to set
	 */
	public void setTime(Time time) {
		this.time = time;
	}

	/**
	 * @return the logIn
	 */
	public String getLogIn() {
		return logIn;
	}

	/**
	 * @param logIn the logIn to set
	 */
	public void setLogIn(String logIn) {
		this.logIn = logIn;
	}
}
